package com.compass.mobile.framework.constant

import UserInfoManager
import com.compass.mobile.models.Inspection


/**
 * @desc   常量管理
 */

/**
 * base_url
 */

//adb logcat -v time > D:\Logcat\logcat.log
const val BASE_URL ="https://cmm.zhaoxuezhou.com/"//测试地址
//const val BASE_URL ="https://gy.ftsofts.com/"//测试地址
const val BASE_AI_URL ="https://api.xawellcare.com/ai-api/"//ai地址
const val BASE_AI =BASE_AI_URL+"hospitalGuide/conversation"//智能导诊
const val BASE_ASSESSMENT =BASE_AI_URL+"yidong/healthAssessment"//健康评估接口
const val BASE_COMMON =BASE_AI_URL+"hospitalGuide/commonSymptoms"//常见症状



const val BASE_H5_URL ="https://h5.zhaoxuezhou.com/#/"//h5前缀
//const val BASE_PDF ="https://wechat.imc-xa.cn/api/web/viewer.html?file=https://wechat.imc-xa.cn/api/preview/"
const val BASE_PDF ="https://preapp.imc-xa.cn/api/web/viewer.html?file=https://preapp.imc-xa.cn/api/preview/"//测试地址
const val BASE_PDF_FULL ="https://admin.xawellcare.com/doctorh5/#/page-article-details/pdf-preview?file="//测试地址




var ADD_PATIENT= "${BASE_H5_URL}pages-personal/my-patient/bind?isIpad=1&platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//添加患者
var YY_NURSING= "${BASE_H5_URL}pages-nurse/project/confirm?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//预约护理
var INQUIRY= "${BASE_H5_URL}pages-hospital-services/ask-diagnosis/disease-description/index?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="
var HEALTH= "${BASE_H5_URL}pages-personal/my-health-records/record?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//健康档案
var CASE_ADD= "${BASE_H5_URL}pages-personal/my-case/add-or-edit?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//添加病历
var PRESCRIPTION= "${BASE_H5_URL}pages-personal/my-prescription/index?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//检验检查下单
var INSPECT_CONFIRM= "${BASE_H5_URL}pages-hospital-services/inspect/appointment/confirm?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//添加病历
var MY_ORDER= "${BASE_H5_URL}pages-personal/my-ask-diagnosis/index?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//问诊订单
var NURSE_ORDER= "${BASE_H5_URL}pages-personal/my-order/list/nurse?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//护理订单
var INSPECT_ORDER= "${BASE_H5_URL}pages-hospital-services/inspect/appointment/list?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//检验检查订单
var REPORT_INFO= "${BASE_H5_URL}pages-hospital-services/inspect/reportForm?platformId=${UserInfoManager.getPlatformId()}&hospitalId=${UserInfoManager.getHospitalIdCode()}&yd-user-id="//报告单查询







const val NIM_APP_KEY = "dd3977a9053e5970ed2bd1cb940881bb"//云信appkey

const val KEY_SMS_LOGIN = "yd-box-login"//登录接口标识

//LiveDataBus 标识
const val LOGIN_FAILURE = "login_failure" //登录失效标识
const val CLOSE_EVENT = "channel_close"//平道关闭事件
const val CANCEL_INVITE = "cancel_invite"//取消邀请
const val PATIENT_SWITCH = "patient_switch"//就诊人切换
const val INQUIRY_ACTION = "inquiry_action"//问诊action
const val TEST_ACTION = "test_action"//检验检查直接支付action
const val EVALUATION_ACTION = "evaluation_action"//问诊单评价action
const val TEST_ORDER_ACTION = "test_order_action"//检验检查order支付 action
const val NURSE_ACTION = "nurse_action"//护理订单action
const val CASE_REPORT_ACTION = "case_report_action"//病历报告action
const val APPOINTMENT_ACTION = "appointment_action"//预约action
const val PRESCRIPTION_ACTION = "Prescription_action"//处方审核action
const val CLINICAL_RECEPTION = "clinical_reception"//接诊action
const val END_ACTION = "end_action"//结束问诊action
const val REFERRAL_ACTION = "referral_action"//转诊action
const val BACKSPACE_ACTION = "backspace_action"//医生退诊action
const val CANCEL_ACTION = "cancel_action"//取消问诊action
const val OK_ACTION = "ok_action"//确定action
const val REFRESH_PATIENT= "refresh_patient"//刷新就诊人数据




//数据存储key
const val YD_USER_ID = "yd_user_id" // 移动用户id
const val CLOUD_FILM_URL = "cloud_film" // 云胶片地址
const val selfServiceWxCode = "selfServiceWxCode" // 客服二维码
const val selfServicePhone = "selfServicePhone" // 客服电话
const val PLATFORM_ID = "platformId" // platformId
const val USER_INFO_DATA = "user_info_data" // 用户数据缓存
const val USER_REFRESH_TOKEN = "refresh_token"  //用户refresh_token
const val USER_ACCESS_TOKEN = "access_token"  //用户access_token
const val USER_ACC_ID = "user_accId"  //用户accId
const val USER_IM_TOKEN = "user_im_token"  //用户accId
const val PRIVACY_STATUS = "privacy_status"  // 获取用户是否同意隐私协议
const val HOSPITAL_ID = "hospital_id" //医院id
const val HOSPITAL_CODE = "hospital_code" //医院code
const val MESSAGE_TYPE = "patient_with_treatment_system_messages_type" //通知消息type
const val ORDER_CONSULTATION_TYPE = "order_consultation_status" //问诊单状态type
const val ORDER_INSPECTION_TYPE = "order_inspection_status" //建议检查单状态type
const val ORDER_TYPE = "order_status" //问诊单type
//报告单
const val INSPECTION_REPORT = "inspection_report_type"
const val ORDER_NURSE_STATUS = "order_nurse_status"
const val ALL_DOCTOR = "all_doctor"


const val LOCAL_PHONE = "local_phone"

//添加就诊人时过滤的验证码
const val COMMOM_VERIF_CODE = "SNos8OZL2j"


